#pragma once

#include "ControlNode.h"


namespace uml {

ControlNode::ControlNode(const QString& umlType)
    : ActivityNode(umlType) {}

void ControlNode::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    ActivityNode::fromJson(json, errorList);
}

void ControlNode::toJson(QJsonObject& json) {
    ActivityNode::toJson(json);
}

} // namespace uml
